<table class="table table-bordered">
    <thead>
        <tr>
            <th style="width: 10px">id</th>
            <th>用户名</th>
            <th>注册时间</th>
            <th>登录时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        <% let {adminList} = data %>
        <% for(let i=0;i<adminList.length;i++){ %>
        <tr>
            <td><%= i+1 %></td>
            <td><%= adminList[i].adminName %></td>
            <td><%= adminList[i].regTime %></td>
            <td><%= adminList[i].loginTime %></td>
            <td><button class="btn btn-danger btn-sm deleteBtn" data-id="<%= adminList[i]._id %>">删除</button></td>
        </tr>
        <% } %>
    </tbody>
</table>